class LoginForm {
	String? username;
	String? password;

	LoginForm({this.username, this.password});


	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['username'] = username??"";
		data['password'] = password??"";
		return data;
	}
}

class LoginRes {
	String token;

    LoginRes({
        required this.token,
    });

    factory LoginRes.fromJson(Map<String, dynamic> json){
        return LoginRes(
            token: json['token'],
        );
    }
}
